import * as React from "react";
import * as ReactDOM from "react-dom";

function App(props) {
  const [count, setCount] = React.useState(0);
  return (
    <h1
      onClick={e => {
        setCount(666);
      }}
    >
      chenjiang{count}
    </h1>
  );
}

ReactDOM.render(<App />, document.getElementById("root"));
